﻿@using MealBooking.Core.Models.Orders;
@model ManagerOrder
@{
    ViewBag.HeaderTitle = "Orders";
    Layout = "~/Areas/Manager/Views/Shared/_Layout.cshtml";
}
<!--Navbar-->
<div data-role="navbar" data-iconpos="left">
</div>
<!--Navbar End-->
<ul data-role="listview" data-inset="true" data-mini="true">
    <li data-role="list-divider">Order
        @{
            var order = Model;
            if (order != null)
            {
                if (order.Orders == null)
                {
            <span class="ui-li-count">0</span>            
                }
                else
                {
            <span class="ui-li-count">@order.Orders.Count</span>  
                }
            }
        }
    </li>
    <li><a href="@Url.Action("TodayOrder")">
        <h4>
            Today's Order</h4>
        <p>
            View Today's Order, add Book it...</p>
    </a></li>
    <li><a href="@Url.Action("TodayOrders")">View All Customers' Orders</a></li>
    <li><a href="@Url.Action("HistoryOrders")">View History Orders</a></li>
</ul>
<ul data-role="listview" data-inset="true" data-mini="true">
    <li data-role="list-divider"></li>
    <li><a href="@Url.Action("Index", "MealManager")">Meal Operations</a></li>
    <li><a href="@Url.Action("Index", "DishManager")">Dish Operations</a></li>
</ul>
